package tk.mybatis.simple.generator.mapper;

import org.apache.ibatis.annotations.CacheNamespaceRef;
import tk.mybatis.simple.generator.model.Country;

import java.util.List;

@CacheNamespaceRef(CountryMapper.class)
public interface CountryMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Country record);

    Country selectByPrimaryKey(Integer id);

    List<Country> selectAll();

    int updateByPrimaryKey(Country record);
}